package response

type InvestmentData struct {
	My  []MaterialData  `json:"my"`
	One InvestmentInfo  `json:"one"`
	Two InvestmentInfo  `json:"two"`
	Fee float64         `json:"fee"`
	Log []InvestmentLog `json:"log"`
}

type InvestmentInfo struct {
	TypeID   uint    `json:"typeID"`
	TypeName string  `json:"typeName"`
	TypeImg  string  `json:"typeImg"`
	Num      float64 `json:"num"`
	Rate     float64 `json:"rate"`
}

type Materials struct {
	TypeID   uint    `json:"typeID"`
	TypeName string  `json:"typeName"`
	TypeImg  string  `json:"typeImg"`
	Num      float64 `json:"num"`
}

type InvestmentLog struct {
	Nickname        string  `json:"nickname"`
	TypeName        string  `json:"typeName"`
	TypeImg         string  `json:"typeImg"`
	Num             float64 `json:"num"`
	Total           float64 `json:"total"`
	ConsumeTypeName string  `json:"consumeTypeName"`
	ConsumeTypeImg  string  `json:"consumeTypeImg"`
	ConsumeNum      float64 `json:"consumeNum"`
	Dates           string  `json:"dates"`
}
